"""
@file:   comment
@author: FrankYi
@date:   2020/08/13
@desc:
"""
from .base import db


class CommentSouth(db.Model):
    __tablename__ = 'comment_south'
    commentid = db.Column(db.Integer, primary_key=True, autoincrement=True)
    useid = db.Column(db.ForeignKey("user_south.userid"))
    viewid = db.Column(db.ForeignKey("view_south.viewid"))
    content = db.Column(db.String,nullable=False)
    time = db.Column(db.TIMESTAMP)


